package cn.gene.timeyan.pojo.PrivateLetter;

import io.swagger.annotations.ApiModel;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

@Data
@ApiModel("公告/通知")
public class NoticeMessage implements Serializable {


    private Long noticeMessageId;

    private Long receiverId;//` bigint(20) unsigned NOT NULL COMMENT '受通知者ID',

    private String title;//` varchar(50) DEFAULT NULL COMMENT '标题',

    private String content;//` varchar(255) DEFAULT NULL COMMENT '内容',

    private int messageState;//` char(1) DEFAULT '0' COMMENT '阅读状态',

    private LocalDateTime sendTime;//` datetime DEFAULT NULL COMMENT '发送时间',

    private LocalDateTime createTime;//` datetime DEFAULT NULL COMMENT '创建时间',

    private LocalDateTime updateTime;//` datetime DEFAULT NULL COMMENT '修改时间',

}
